//定义接口限制PersonMessage具体属性
export interface PersonMessage {
    id: string,
    name: string
    age: number,
}

//自定义类型
// export type PersonMessageList = Array<PersonMessage>
export type PersonMessageList = PersonMessage []
// 定义接口显示todo具体属性
export interface todo {
    id: string,
    matter: string
    isFinish: boolean,
}

//自定义类型
export type toDoList = todo [];

// 分页控件参数
export interface pageControlParam {
    currentPage: number,
    pageSize: number
    total?: number,
}